/* 基础手机屏幕样式 */
.phone-container {
	width: 100%;
	height: 100%;
	background-color: #f9f9f9;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	position: relative;
	overflow: hidden;
}

/* 顶部状态栏 */
.status-bar {
	height: 44px;
	background-color: #1a1a1a;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 16px;
	font-size: 14px;
	position: relative;
}

/* 底部导航栏 */
.tab-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background-color: white;
	display: flex;
	justify-content: space-around;
	align-items: center;
	border-top: 1px solid #e0e0e0;
	z-index: 100;
}

.tab-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 33.33%;
	color: #8a8a8a;
}

.tab-item.active {
	color: #1e40af;
}

.tab-item i {
	font-size: 20px;
	margin-bottom: 4px;
}

.tab-item span {
	font-size: 12px;
}

/* 内容区域 */
.content {
	padding: 16px;
	overflow-y: auto;
	position: absolute;
	top: 44px;
	bottom: 60px;
	left: 0;
	right: 0;
}

/* 卡片样式 */
.card {
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	padding: 16px;
	margin-bottom: 16px;
	position: relative;
}

/* 按钮样式 */
.btn {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	text-align: center;
	display: inline-block;
	cursor: pointer;
}

.btn-primary {
	background-color: #1e40af;
	color: white;
}

/* 弹出层 */
.popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	z-index: 1000;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.popup.show {
	transform: translateY(0);
}

.popup-header {
	padding: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
}

.popup-content {
	padding: 16px;
	max-height: 70vh;
	overflow-y: auto;
}

/* 表单元素 */
.form-group {
	margin-bottom: 16px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
}

.form-input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
}

/* 遮罩层 */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.overlay.show {
	opacity: 1;
	visibility: visible;
}
